# app.py
from ollama_service import OllamaService

if __name__ == '__main__':
    ollama_service = OllamaService()
    for chunk in ollama_service.qa_chain.stream('thud'):
        print(chunk, end="", flush=True)